package com.scalar.chiptrack.operations.process.forms;

import java.io.Serializable;

import org.apache.struts.upload.FormFile;

import com.scalar.chiptrack.ChipTrackActionForm;

/*********************************************************************
** Copyright@ ScalarSoft 2002 
** 
** Form bean for the Setting up a base Product

** @author 	Raj Vallamsetla 
** @parameters 
*********************************************************************/

public class FabForm extends ChipTrackActionForm  implements Serializable {

	private	String  productId;
	private	String  fabName;
	private	int     gross;
	private	float   lotHoldYieldLimit;
	private	String  poFrequency;
	private	float   standardUnitCost;
	private	float   lotScrapYieldLimit;
	private	String  procDocNo;
	private	String  maskIdNo;
	private	float   targetYield;
	private	String  comments;
	private FormFile  procDocFile;
	private FormFile  maskIdFile;
	private String processStepId;
	private int procedureDocId=-1;
	private int maskDocId=-1;
	
	private String  [] checkLocations;
	private int		[] locationID;
	private int		[] priority;
	private String  [] locationName;
	private int		[] split;
	private int		[] capacityWeek;
	private float   [] normalCost;
	private float   [] expressCost;
	private int		[] normalCycleTime;
	private int		[] expressCycleTime;
	private float   [] expectedYield;
	
	// added by ravikanth on 19 Sep 2003 
	private String [] dupProductName = new String[0];	
	
	public FabForm()
	{
	
	}
	
	public void setProductId(String productId )
	{
		this.productId = productId;
	}
	
	public void setFabName(String fabName )
	{
		this.fabName = fabName;
	}
	
	public void setGross(int gross )
	{
		this.gross = gross;
	}
	
	public void setLotHoldYieldLimit(float lotHoldYieldLimit )
	{
		this.lotHoldYieldLimit = lotHoldYieldLimit;
	}
	
	public void setPoFrequency(String poFrequency )
	{
		this.poFrequency = poFrequency;
	}
	
	public void setStandardUnitCost(float standardUnitCost )
	{
		this.standardUnitCost = standardUnitCost;
	}
	
	public void setLotScrapYieldLimit(float lotScrapYieldLimit )
	{
		this.lotScrapYieldLimit = lotScrapYieldLimit;
	}
	
	public void setProcDocNo(String procDocNo )
	{
		this.procDocNo = procDocNo;
	}
	
	
	public void setProcDocFile(FormFile procDocFile )
	{
		this.procDocFile = procDocFile;
	}
	
	public void setMaskIdNo(String maskIdNo )
	{
		this.maskIdNo = maskIdNo;
	}
	
	
	public void setMaskIdFile(FormFile maskIdFile )
	{
		this.maskIdFile = maskIdFile;
	}
	
	
	public void setTargetYield(float targetYield )
	{
		this.targetYield = targetYield;
	}
	
	public void setComments(String comments )
	{
		this.comments = comments;
	}
	
	
	public void setCheckLocations(String [] checkLocations )
	{
		this.checkLocations = checkLocations;
	}
	
	public void setLocationID(int [] locationID )
	{
		this.locationID = locationID;
	}
	
	public void setPriority(int [] priority )
	{
		this.priority = priority;
	}
	
	public void setLocationName(String [] locationName )
	{
		this.locationName = locationName;
	}
	
	public void setSplit(int [] split )
	{
		this.split = split;
	}
	
	public void setCapacityWeek(int [] capacityWeek )
	{
		this.capacityWeek = capacityWeek;
	}
	
	public void setNormalCost(float [] normalCost )
	{
		this.normalCost = normalCost;
	}
	
	public void setExpressCost(float [] expressCost )
	{
		this.expressCost = expressCost;
	}
	
	
	public void setNormalCycleTime(int [] normalCycleTime )
	{
		this.normalCycleTime = normalCycleTime;
	}
	
	public void setExpressCycleTime(int [] expressCycleTime )
	{
		this.expressCycleTime = expressCycleTime;
	}
	
	public void setExpectedYield(float [] expectedYield )
	{
		this.expectedYield = expectedYield;
	}
	
	public void setProcessStepId(String processStepId)
	{
		this.processStepId=processStepId;
	
	}
	
	public void setProcedureDocId(int procedureDocId )
	{
		this.procedureDocId = procedureDocId;
	}
	
	public void setMaskDocId(int maskDocId )
	{
		this.maskDocId = maskDocId;
	}
	
	public String getFabName()
	{
	return fabName ;
	}
	
	public int getGross()
	{
	return gross ;
	}
	  
	public float getLotHoldYieldLimit()
	{
	return lotHoldYieldLimit ;
	}
	
	public String getPoFrequency()
	{
	return poFrequency ;
	}
	
	public float getStandardUnitCost()
	{
	return standardUnitCost ;
	}
	
	public float getLotScrapYieldLimit()
	{
	return lotScrapYieldLimit ;
	}
	
	public String getProcDocNo()
	{
	return procDocNo ;
	}
	
	public FormFile getProcDocFile()
	{
	return procDocFile ;
	}
	
	
	public String getMaskIdNo()
	{
	return maskIdNo ;
	}
	
	public FormFile getMaskIdFile()
	{
	return maskIdFile ;
	}
	
	public float getTargetYield()
	{
	return targetYield ;
	}
	
	public String getComments()
	{
	return comments ;
	}
	
	
	
	public String [] getCheckLocations()
	{
	return checkLocations ;
	}
	
	public int [] getLocationID()
	{
	return locationID ;
	}
	
	public int [] getPriority()
	{
	return priority ;
	}
	
	public String [] getLocationName()
	{
	return locationName ;
	}
	
	public int [] getSplit()
	{
	return split ;
	}
	
	public int [] getCapacityWeek()
	{
	return capacityWeek ;
	}
	
	public float [] getNormalCost()
	{
	return normalCost ;
	}
	
	public float [] getExpressCost()
	{
	return expressCost ;
	}
	
	public int [] getNormalCycleTime()
	{
	return normalCycleTime ;
	}
	
	public int [] getExpressCycleTime()
	{
	return expressCycleTime ;
	}
	
	public float [] getExpectedYield()
	{
	return expectedYield ;
	}
	
	public String getProcessStepId() 
	{
	return processStepId;
	}
	
	public int getProcedureDocId()
	{
	return procedureDocId ;
	}
	
	public int getMaskDocId()
	{
	return maskDocId ;
	}
	

    /**
     * @return
     */
    public String[] getDupProductName()
    {
        return dupProductName;
    }

    /**
     * @param strings
     */
    public void setDupProductName(String[] strings)
    {
        dupProductName = strings;
    }

}

